package com.trxy.hotelsystem.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.trxy.hotelsystem.dao.houseTypeMapper;
import com.trxy.hotelsystem.model.houseType;
import com.trxy.hotelsystem.service.RoomtypeService;

@Service
public class RoomtypeServiceImpl implements RoomtypeService{
	
	@Autowired
	private houseTypeMapper housetypeMapper;

	@Override
	public List<houseType> queryHouseAll() {
		// TODO Auto-generated method stub
		return housetypeMapper.queryHouseAll();
	}

	@Override
	public int insertSelective(houseType record) {
		// TODO Auto-generated method stub
		return housetypeMapper.insertSelective(record);
	}

	@Override
	public int deleteByPrimaryKey(String id) {
		// TODO Auto-generated method stub
		return housetypeMapper.deleteByPrimaryKey(id);
	}

	@Override
	public houseType selectByPrimaryKey(String id) {
		// TODO Auto-generated method stub
		return housetypeMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(houseType record) {
		// TODO Auto-generated method stub
		return housetypeMapper.updateByPrimaryKeySelective(record);
	}


}
